trying to end game properly