added time=1 for the flush time