adding ending