some code paralellization and timings