Based on a devRant by @skiilaa (https://devrant.com/rants/535480/)