fixed syntax error and added gitignore