code changes to catch up with 3.10 usb sample