support passing a map object
1.1.0