Added a collection and rendering template using the collection.