added get_fluxes