Modify multi line reply function