major change: change usage from set to graph