adding method to get friendly name of device
adding error check and comment