switch to ir node rep