basic templeting and node creation