refactored index for educators