beginning to filter data