Alternatively, you could just take the `rr` and `nn` parameters from the surf, but having `surf` the way it currently is might be clearer.