renamed function correctly, and added gitignore