added pid/process determination