changed __int64 to long unsigned int