- did some things to the unpack function
- added a debugging call to test_bundle_in