changed int to uint