added a couple of yet-unused functions in cell_utils.py