this `dict` will be reallocated on every call, possible to setup once in the global scope?