Added ability to check data type of cell