initial working version of nodes