Adding basic locality filter 2