https://pyramid.pythonprogramminghelp.com/get-rid-of-control-method-for-good/