core changes for #284; add cell batch