add final line to text