added generic get and put to the mapping protocol