modified the equations