added pid and host