light coding to ViewFilter.