If you use tick, you would change default: to <-tick: and remove the sleep.