start converting nodes to classes