Finally got the damn thing to start and iterate correctly.