add a recording node and a static-function node