parse to command_stream