version with exclusion pattern