Loops mostly done!