Added WORKING STRUCTURE DETECTION FOR CELLS