new graph representation