removed timed wait and sleep