added six indices for better performance