added timecounter