creating a merged message