first template implemented