simplifying PID lookup