added hint for graphs.