add option to filter deprecated