issue #4
issue #4
Merge pull request #43 from daimos/master

new method and tests