first draft of node api