getting ready for parallelization