adding console when message is sent