Adding timing statistics to this.