add code to collect all regs