outputting scores in the end