You could use something like the following to take the “row” aspect from the coordinate:

```
function convertRow(coordinate){
return coordinate.slice(1) - 1;
}
```

This then accepts rows greater than 9 and reduces by 1 to accommodate for the zero index nature of the array.

You would then use your convertColumn() in tandem with the convertRow() to isolate the needed parts of the coordinate into local variables within your final function.

As an example, without giving to much away:

```
function calcDistance(coordinate1, coordinate2){
var xDist = Math.abs(convertColumn(coordinate2) - convertColumn(coordinate1));
...
}
```

would provide the “x” values that we have come to love as columns. You could then use a similar structure with the convertRow() function to find “y” which comes from our rows. Once you have these two “cartesian-orientated” distances you would then perform the remaining math. Does this help get you on the right track?