change to vector pairs for PID