buildtheJ_graph_1