comm routine for fluxes now works