Changed so now works correctly with signed and unsigned long longs