region filter import, functional implementation is next