removed call to Flush()