how scoring works