Rewrote Fluxes to work by adress and not by value