adding clustering analysis