added minimal flux integration