adding selector for time selection