added output to show progress while running