updated gitignore
abstraction of function