Switched to uints for a larger range.