add get_members method