allow for filter to be externally