Wrote a much sleeker getCellInfo, commented out old version for future reference