use into instead of apply hash-map and merge