Added debug to parallel