allowing nodes as parameters for select also