finish swapping int to unsigned long for extensions