clustering seems to work. want to modify when it stops and print out results