add argument `time_before_new_changed` to `main()`