remove time.sleep