main structure index