made example more understandable and explanatory