add line snippet