Added default case to the switch case for cellType