basic node api