added manual clustering