Have to as @phptek that, since this is under his authorship. I'll see if I can rewrite this.