Added elapsed time functionnality