IF node and list formation