try duck typing