multiple output for graph building