switch to unsigned ints