Add new grid code