added progress bar, but doesn’t work yet