Added distance filter