add back fred's flange, with some tuning