Version 2: move score feedback if/else statement into own function