generating message