Oh, I was looking at line 201 and completely missed the for on line 213, my bad, I'll continue working through this tomorrow I think