added save and load state