improve sending of multiple lines