pass bundlename as parameter