progress bar filling basically working