distance to houses works