fixed two color encoder/decoder. they work now.