added end game interface