initial function for filter expressions