changed template for node init