add pointer cache