add basic methods in map factory