switch to unsigned char