Added time duration controller.