switched params in add_node