small fixes and entry function to triangles