removed sleeps; added asserts

update according to comments