updated gitignore
moved method into helper