serial commands, new modes, about to restructure