add time calculate