some work on byte comparison