implement score