encoding bundles