remove map.getOrDefault()
it was Java 1.8 function