MAC_serial_implementation.do