clustering move to main