implemented printDeviceInformation