added formatting for radio/checkboxes