Adding basic node creation function