scorings code