implemented basic object mapper