Merge change

Was wondering why the code kept crashing with the exe file. You managed to go one out of the array which also seems to have screwed up a couple other things.