work on EndOfGame