added to game reset function