added flux interpolation