Got end game working.