I got the method below and my main where i call this method writing two nodes that are also declared in my main and I want to be able to directly write the name of my nodes