changed checkboxes to textfields