I figured there had to be a better way to write this.  I shall endeavor.