first working template version