add flush instructions