save solutions in session