Ok, I'm kinda proud of this.