Added elapsed time, fixed indentation issue