refactored module index