added end game flag