added further logging of type of device