USB manipulation moved in class