doc comment and changed iterator for job transfer