construct message formate