check for device compatibility