Added function to retrieve hardware