calibrating the cell