start of cell-graph engine