Added end game function