commented out wait50ms