# Add additional loop counter variables

**URL:** https://community.thunkable.com/t/add-additional-loop-counter-variables/341770
**Category:** Questions about Thunkable X
**Created:** [November 28, 2019, 8:37am UTC](https://community.thunkable.com/t/add-additional-loop-counter-variables/341770 "2019-11-28T08:37:34Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [November 28, 2019, 8:37am UTC](https://community.thunkable.com/t/add-additional-loop-counter-variables/341770/1 "2019-11-28T08:37:34Z")

</div>

It seems ridiculous that I can’t figure this out but I’m stuck and couldn’t find the answer here.

I am using a “count with” block and I need to add an index variable for a new loop. I’ve used i and j already. How do I add another variable (e.g. “count with k”)? I tried initializing an app variable and using that (“app k”) but the loop didn’t count at all… it just stayed at the initialized value.

And the drop-down menu next to j only has “rename variable” which doesn’t allow me to add a new variable.

![05 AM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/8/78c2b093f4566a7e9f3d4cc36a57ab586bf73438.png)

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [November 28, 2019, 8:55am UTC](https://community.thunkable.com/t/add-additional-loop-counter-variables/341770/2 "2019-11-28T08:55:35Z")

</div>

![изображение](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/7/879e495a60531fd10f8a8157fe85148c5a6258ab.png)

Best regards, Alex  
[Thunkable X Basic Programming Course](http://droidscript.ru/main/title_ds15.php)  
[Block Reference](http://droidscript.ru/main/statyi/thunkableios_blockhelper.php)  
[Component Reference](http://droidscript.ru/main/statyi/thunkableios_objects.php)

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [November 28, 2019, 9:02am UTC](https://community.thunkable.com/t/add-additional-loop-counter-variables/341770/3 "2019-11-28T09:02:10Z")

</div>

Thank you!

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 11:46am UTC](https://community.thunkable.com/t/add-additional-loop-counter-variables/341770/4 "2024-11-08T11:46:36Z")

</div>


