james | correcting signature of wrap_nodes method call