Refactoring load_game