set flex