branch flushing implemented