Made the register file behave