Fixed initialise loop