pass config through to model