made streaming jar a parameter