removed useless sleep() command