Progressbar now works