added back in removed function used by the rest of the code for scoring. made the added scoring code work with the previously stubbed out function.