reverting to initial state