updated gitignore and helper functions