Generalising the parallel setup functions