Implementation of array jobs

Implemented the comments to pull request #19.
Am I correct that the return type of this function is changed? Is it now differing from the return type of the same function in the other submodules?