Missing closing end for function do_pack