Just wondering where from does this flush method gets invoked?