a small modification of ProcService class