score field added, it updates every time the score variable changes