changed pplan_add so it accepts only lists now