adding end game scoring