replace cell_t typedef with Cell class