move score feedback if/else statement into own function