modify index and .gitignore