made example code narrower