flow check added