using time settings