Stuff, before fixing the loop