Tweaked example code for clarity