deleted some code in save and load