first attempt - not working, wiring has logic problems?