messing around wiht index file