first functions and gitignore added