change uint references to unsigned ints again :)