added formatting for the elapsed time as per #286