Updated example with stoppable block