removed unused message factory