beginnings of progress bar