added a flush