modify for parallel build