Changed integers to unsigned