works with multiple workers