reimplement stats for average delay