Wiring some sample code (to be continued)