#46 duck typing
Merge pull request #47 from ciberch/issue_45

#46 duck typing