moved some node stuff to common