record all output