cluster function - in process