Adjusted howm to get the hardware resources