adding lines at the end