separated out the hardware checks 2
slight correction