One bug squashed, bad index for for loop, still broken