introducing partials and config