adding flow-onsetDetection