added some node code