add support for partials