Changed message_to protocol