appending text at the end of the line