triangles refactored

Thank you Github app
Also, this is not an informative method name.