original -> derivative
p1type); foreach($typ as $p) { ?> p1name?> type?> p2type); foreach($typ as $p) { ?> p2name?>