I should use a template for this.