added reset scores function