Just struggling to figure out how to do this correctly, I have done some Googling and I have got to this point, this code does actually crash the application when I run it.<