using prefetch and flush