Triangle - first version