Adding PID stack