use array instead of hash table in the scoring project