add distance measures