added progress bar, first version complete