finished correcting equations