add mapping for message