diff --git a/nanoplot/NanoPlot.py b/nanoplot/NanoPlot.py
index <HASH>..<HASH> 100755
--- a/nanoplot/NanoPlot.py
+++ b/nanoplot/NanoPlot.py
@@ -198,8 +198,8 @@ def make_plots(datadf, settings):
         )
         logging.info("Created spatialheatmap for succesfull basecalls.")
     if "start_time" in datadf:
-        dfs = check_valid_time_and_sort(datadf, "start_time")
-        subsampled_dfs = subsample_datasets(dfs)        
+        dfs = nanoplotter.check_valid_time_and_sort(datadf, "start_time")
+        subsampled_dfs = nanoplotter.subsample_datasets(dfs)        
         
         plots.extend(
             nanoplotter.time_plots(
calling functions from package instead of importing said functions