add a bit of boilerplate code for distance picking