replaced methods: getOrDefault -> get