added flushes