adding zoo_nodes to functions