flux example