Adding basic locality filter 4