added new memory model