logic for CreateMember