added partials support