Removed time.sleep