added converter for messages