Quick flux function