Add nodes in map and list working