adds error and with nodes