updated unsigned int to uint32_t