adding templates and listing