program runs, clustering incorrectly