separate output and status