added additional pid logging