get rid of pointer cache functions