Improved (simplified) SleepingBarber example.