experiment.c: now it accepts multiple pids