reverting changes to get back the solution