continued graph state handling code