checkCell() corrected