renamed index to better reflect template inheritence