https://browserandsession.pythonprogramminghelp.com/how-to-get-rid-of-catheodary-extension-theorem/