basic bundling logic