add function to return cells
add reset