Fixed some things, there is a syntax error within the for loop!