fleshed out the ifnode in the ast