added logging send message