Add time computation