add partials support