Added print statements to show progress