This probably is the proper way to do this.