marking and proper handling of command sequences