added un64 function