updated workings and .gitignore