Added get_pids() to retrieve PID function list