works; need to integrate partials