methods for getting nodes and checking they exist