-- add initialize variables progress and total.