He was almost text messaging more when he was on duty " than off duty , said Chairwoman Deborah Hersman , citing records from the days leading up to the crash that showed engineer Robert M. Sanchez sent and received dozens of texts during periods he was scheduled to operate trains .