change gitignore, update functions