added new vars for progress bar