DisplayCell method refactored