intermediate code: parent child relationship broken