initialize cartridge