Flushing data