Fixing the for loop starting point