made callback interface when creating dicts