basic node code works