simplified memory model