added task creation for clustering