addition of progress bar and cookies