added timeTotal virtual