worked on saving state