added ctypes for uint to in conversion