basic creating node working code