wiring up waving (making waves active/inactive)