adding flux