accept config object
0.11.0