adding in second timer
add usb detection code