Init loop variable