added gitignore fixed a bug