formating message