config
docs and test for config