This is a nice way to do this.