removed debug sleeps()