create partials and copy content