mechanical translation of clustering lecture