M.Gabry: triangle and template