used ints for time