added `scorePlusX` function