adding equations