parallel enqueue refactor