use nibble instead of hex for half byte