Text this: Application of modified energy method in the nonlinear cyclic behavior of structures