modified getPalletinfo