This is the right way to do this.