added delete to pack