map functionality
merged