Experimenting with packing function