I know, I know, this is not how I'm supposed to do it, but I can't think of something better.