adding option for time-restriction