use strict for filter function