reworked this after people on reddit tore me to shreds….