Flexibility and Intelligence