Probably the worst way to do this... but it's what I know