Added isFlush