add nodes_position and create_delayfunc