extract writing message