Map-register function added (Not final)
map-register function added