[PD] variable number of outlets/inlets