fixed formatting and updated gitignore