working timetest.cpp