added `id`s to `<dfn>`s
abstracted grid; took out color