implements scoreCounter