reverted split into several calls in filter initialization. removed local caching.