added needed code to load save