incomplete feature. Saving current state