build_time_series should be exposed