added unpacking example
fixed export snippet
fixed export snippet