time1 only needs to be an int