Added time calculate.