started handling empty dicts