use long long integers instead of ints