ending tuning