modularized config