added grid for graph