revised gamma templates