# How can I append value to the local variable but not re write it

**URL:** <https://community.postman.com/t/how-can-i-append-value-to-the-local-variable-but-not-re-write-it/16828>\
**Category:** Help Hub\
**Tags:** variables\
**Created:** [October 16, 2020, 8:31am UTC](https://community.postman.com/t/how-can-i-append-value-to-the-local-variable-but-not-re-write-it/16828 "2020-10-16T08:31:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bigglebowskii](https://avatars.discourse-cdn.com/v4/letter/b/90ced4/32.png) [@bigglebowskii](https://community.postman.com/u/bigglebowskii)\
**Post date:** [October 16, 2020, 8:31am UTC](https://community.postman.com/t/how-can-i-append-value-to-the-local-variable-but-not-re-write-it/16828/1 "2020-10-16T08:31:00Z")

</div>

Hi all!  
Im wondering is anyway to append new value to environment variable without it been rewritted all.

I have an array let usedInLists = ;

which I initialize in the end of each request cycle ( postman.setNextRequest(“Check if userID is in a list”) with need data [“string0”, “string1”, …]

like this  
pm.environment.set(“usedInLists”, usedInLists);

but each time this request has been triggered I have completely new value but I want to see

[“string0”, “string1”, …] + […“string4”, "string5]
