removed unnecessary computations in the unpacking method