diff --git a/hrv/rri.py b/hrv/rri.py
index <HASH>..<HASH> 100644
--- a/hrv/rri.py
+++ b/hrv/rri.py
@@ -4,7 +4,10 @@ import numpy as np
 class RRi:
     def __init__(self, rri, time=None):
         self.rri = _validate_rri(rri)
-        self.time = _create_time_array(self.rri)
+        if time is None:
+            self.time = _create_time_array(self.rri)
+        else:
+            self.time = np.array(time)
 
     @property
     def values(self):
diff --git a/tests/test_rri.py b/tests/test_rri.py
index <HASH>..<HASH> 100644
--- a/tests/test_rri.py
+++ b/tests/test_rri.py
@@ -42,8 +42,8 @@ def test_rri_time_auto_creation():
 
 
 def test_rri_time_passed_as_argument():
-    rri_time = np.cumsum(FAKE_RRI) / 1000.0
+    rri_time = [1, 2, 3, 4]
     rri = RRi(FAKE_RRI, rri_time)
 
     assert isinstance(rri.time, np.ndarray)
-    np.testing.assert_array_equal(rri.time, np.cumsum(FAKE_RRI) / 1000.0)
+    np.testing.assert_array_equal(rri.time, np.array([1, 2, 3, 4]))
Creates time array only if not passed as argument