Build the device