tidied up code; added fancy progress messages