add main and timestamp dump