error handling + clusterQueue rewritten