wiring it all together