removed comment about hardcoded template buffer