add Program-node, with a static and a dynamic part