Use avg_seconds instead of max_seconds