finished first template version