added functionality for 1 word and got checkboxes working