add distance to search module