created simplified version of tag-proximity