adds package unpacking