first version of new interface with node types