new API for specifying demographic filters