using checkboxed for multiple indices