Initial implementation of scoring.