add memory management
add idt