adding messaging layout formatting