added to ending