Gaining karma by creating triangle method

* Triangle method refactored

[#54145835]