both are forms of cognitive flexibility