removed setTimer and added end game button