setup write nodes