added getPocket method