added saveState to delay-node