refactored headers to partials