wiring up waving (layout)