Please explain why do we need to use input parameters such as regs?