made example easier to understand