make flowcontrol configurable