reimplemented score

inserted reset level function on 'r'