Handle pids as List