added command to send messages