added a trace function
added a terrible node example