Note that the variable names r, cell and others can be named however you like but should be named appropriately so the code is easier to understand for you and others.
r
cell