fixed getScores function to not require an input