refactor(time) main -> require