new subroutines: MAKECLUSTERS and END_MAKECLUSTERS