refactored membership index