# \[Request for Feedback\] Refactored the "If" Node

**URL:** <https://forum.dynamobim.com/t/request-for-feedback-refactored-the-if-node/60647>\
**Category:** Request for Feedback\
**Tags:** dynamo\
**Created:** [February 18, 2021, 5:25pm UTC](https://forum.dynamobim.com/t/request-for-feedback-refactored-the-if-node/60647 "2021-02-18T17:25:10Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Aparajit\_Pratap](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@Aparajit\_Pratap](https://forum.dynamobim.com/u/Aparajit_Pratap)\
**Post date:** [February 18, 2021, 8:15pm UTC](https://forum.dynamobim.com/t/request-for-feedback-refactored-the-if-node/60647/6 "2021-02-18T20:15:53Z")

</div>

@Steven the old `If` node used the following DesignScript code under the hood:  
`result = test_condition ? truevalue : falsevalue;`  
This DS conditional statement replicates over all 3 inputs, namely, `test_condition`, `truevalue`, and `falsevalue`.  
The new If node, uses the following DS code under the hood:  
`[truevalue, falsevalue][test_condition ? 0 : 1];`  
This new code does not replicate over `truevalue` or `falsevalue` but continues to replicate over `test_condition`.  
So to answer your question, the original DS conditional statement has **not** changed in behaviour. We have only replaced the underlying guts of the `If` **node** to make it more intuitive.

---

_[View the full topic](https://forum.dynamobim.com/t/request-for-feedback-refactored-the-if-node/60647)._
