added dynamic progress bar