https://www.yasa.co/blog/legal-works-of-the-promise/