added code that will return values set to cell divs, not DRY!