modofied grid declarations