version3 (modified structure add sNode)