add ability to exclude patterns