minor efficiency improvement on score button