dat prog bar
needs some refactorsge
encoding woes and new prog bar