all indeces changed to unsigned ints