almost finished tlb manipulation