swapped from unsigned int to long long