added debug output for parallel wrappers