add an argument for glob matching