check whether method already exists; close #53
Merge pull request #57 from stanfy/roman/fix-examples

check whether method already exists; close #53