added scoring.