added var score to keep track of player score