parallelisation broken, need fix