add core implementation of filters