Replaced indices with names.
Trying to set up checkboxes.