checking of pid has been added