created retrieveMappedValue method and test for it
created retrieveMappedValue method and test for it