index file much more tidy