adding grid assignment