initial wiring up, not totally complete