flex examples