Another attempt at parallelising