added sample collection to the template (essays pages)