calculated total time taken