time calculate done