In cases where it does not match, (d + e * df), it returrns None. I however need an empty dict. I thought that this might be a good way.