fixed scoring, eliminated consecutive duplicates, running calculation of summary statistics