enhance flow ctontrol method