Elemenated unnecessary code leftover from using checkboxes