add config options and example