modified getpalletinfo