add rb/hamming