Fixed the equations