edits the equations