added ability to filter warnings