Refactoring create_cas_participant