basic prog bar with query
added fleshed out progress bar