delete <<endl;
add timeInterval