Updated example with better detail on workings