end game properly managed