some basic mmu logic