added long check for contained processes