add progressbar, add 3rd example, fix bug concerning old input that was unavailable after first run