removed debug-like Thread.sleep