# i know there is a better way to do this, but it's 3 am # and I'm an idiot