BearTapClient code