uhm, yes. But in this case I can think of moving splitClusters definition here in the general area.
BTW, you don't really need to specify the current process name.