added NodeTypes class