The param `id` here should match the real name, `index`, below. Or maybe the param should actually be renamed to `id`. It's your choice. In any case, it should be consistent.