Use HashMaps, still merging is not working.