ready for grid graph
d