Improved usb lib