template change to PyramidTemplate