# Question regarding creating multiple instances

**URL:** <https://forum.genieacs.com/t/question-regarding-creating-multiple-instances/2038>\
**Category:** Uncategorized\
**Created:** [September 20, 2021, 7:59pm UTC](https://forum.genieacs.com/t/question-regarding-creating-multiple-instances/2038 "2021-09-20T19:59:33Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![akcoder](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/akcoder/32/11_2.png) [@akcoder](https://forum.genieacs.com/u/akcoder)\
**Post date:** [September 20, 2021, 8:51pm UTC](https://forum.genieacs.com/t/question-regarding-creating-multiple-instances/2038/2 "2021-09-20T20:51:27Z")

</div>

The way you want to do this is to first tell GenieACS you want 0 instances, and then specify the params for each instance. For example:

```auto
declare("InternetGatewayDevice.Layer2Bridging.Bridge.[]", null, {path: 0});
declare("InternetGatewayDevice.Layer2Bridging.Bridge.[BridgeEnable:true,Alias:Inst1]", {path: now}, {path: 1});
declare("InternetGatewayDevice.Layer2Bridging.Bridge.[BridgeEnable:true,Alias:Inst2]", {path: now}, {path: 1});
declare("InternetGatewayDevice.Layer2Bridging.Bridge.[BridgeEnable:true,Alias:Inst3]", {path: now}, {path: 1});

```

The params need to be unique for this to work correctly. Otherwise if the you have something like this:

```auto
declare("InternetGatewayDevice.Layer2Bridging.Bridge.[]", null, {path: 0});
declare("InternetGatewayDevice.Layer2Bridging.Bridge.[BridgeEnable:true,Alias:Inst1]", {path: now}, {path: 1});
declare("InternetGatewayDevice.Layer2Bridging.Bridge.[BridgeEnable:true,Alias:Inst1]", {path: now}, {path: 1});

```

You would end up with only 1 instance, because the parameters are all the same.

---

_[View the full topic](https://forum.genieacs.com/t/question-regarding-creating-multiple-instances/2038)._
