adding convertMessageSegmentsToASCII fn