broke down templates

minimizing rendering