Add assert to check time of input data is int