Changing sharedParams to descriptorSharedParams