before merge with largemem model