added basic filter by location functionality