https://s2-labs.com/developer-tutorials/rules-of-conversion/