dynamic map implementation