Added comments and update node engine