add example of the variation of remove method
Merge pull request #581 from 3dd13/master

add example of the variation of remove method