Adding checkboxes to filter formations