Silenced the warnings. Added a progress print statement.