working on clustering