Changed the name back to ITE
Start to implement the full ITE logic