Flushed advance function.