Changed the order of nodes and added example2.