https://www.techopedia.com/definition/14613/ternary