First code integration for parallelization