Fixed state(state) problem, added ReadUSB mode