Better flex matching with flx