fixed class param assignment in ipa example