added pid/ dir