Added getscore and setscore