these two lines can combine together. No need to call Maps.newHashMap()