added in basic score logic.