added end.text