mode usage to work by flow type