parse to nodes