add `time_before_new_changed` to` main()`