sendMessage and receiveMessage done