printed the score at the end