clarified example code

@johnnyman727 review please