passing node attr is unecessary