Preparing to rewrite this.