remove dicts as default arguments