Bug fix and addition of a .gitingnore which I don't know when I added