Chris' parallelisation items added.
new function added.