in/outPocket must be int for hd pockets.