fixed formatting and .gitignore