pack method change