layout work for partials