working on end game