Remove debugging code
Change variable name from pitch to score for clarity