Pass node instead of reference