Adding getRegMap