updated for cartridge version 2 format