flux application example