worked on template for listing related entities