add partials and refactor show