Connecting to the hardware