add time.cpp