finished timetest.cpp