Fixed code example with e.sleep_time