First attempt at this.