simplified points system but introduced bug in reseting score