added dynamic jet collection code