example to show that other distance comparators can be added easily