need to define cell index too