added simple unpack
updated documentation