replaced start_time by interval_seconds