Enhanced example. wakeup attribute removed