got progress bar working. Don't like it