no idea, I'm even surprised it works

cleaned up