Pretty sure there's a better way to do this, but I'll have to get back to you on that.