minor refactor flanker