added multiline and private message support