add additional color decoding mechanism